<template>
    <div>
        <el-container>
            <el-header>
                <Header></Header>
            </el-header>
            <el-container>
                <el-aside width="200px">
                    <Aside></Aside>
                </el-aside>
                <el-main>
                    <!-- <div class="welcome">
                        欢迎访问管理员端
                    </div>
                    <hr> -->
                    <router-view></router-view>
                </el-main>
            </el-container>
        </el-container>
    </div>
</template>

<script>
import Header from "./header/Header.vue"
import Aside from "./aside/Aside";
export default {
    name: "AdminManagement",
    components: { Aside, Header }
}
</script>

<style scoped>
.el-container.is-vertical {
    flex-direction: column;
    height: 100%;
}

.el-header,
.el-footer {
    margin-left: -20px;
    margin-right: -20px;
    background-color: #6A5ACD;
    color: #333;
    text-align: center;
    line-height: 60px;

    border-bottom: 1px solid #483D8B;
}


.el-aside {
    background-color: #6A5ACD !important;; 
    color: #333 !important;;
    text-align: center;
    line-height: 200px;
}

.aside[data-v-2c9fb0d2] {
    margin-top: 10px;
    background-color: #14252f;
}

.welcome {
    font-size: 34px;
    font-weight: 600;
}

.el-main {
    background-color: rgba(233, 238, 243, 0.1);
    color: #333;
    overflow-y: auto;
    height: 95vh;
    padding: 0px;
}

body>.el-container {
    margin-bottom: 40px;
}

.el-container:nth-child(5) .el-aside,
.el-container:nth-child(6) .el-aside {
    line-height: 260px;
}

.el-container:nth-child(7) .el-aside {
    line-height: 320px;
}</style>
